﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;

namespace KongMing.ORM.EFCore.Models
{
    /// <summary>
    /// 书店图书库存信息表
    /// </summary>
    public class StoreBookStock
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Sn { get; set; }
        /// <summary>
        /// 书店编号
        /// </summary>
        public string BookStoreId { get; set; }
        /// <summary>
        /// 书店名
        /// </summary>
        public string BookStoreName { get; set; }
        /// <summary>
        /// 图书id
        /// </summary>
        public string BookId { get; set; }
        /// <summary>
        /// 书名
        /// </summary>
        public string BookName { get; set; }
        /// <summary>
        /// 库存数量
        /// </summary>
        public int BookNum { get; set; }
    }
}
